package lab02.test12;

/**
 * Created by 阿阿阿阿豪丶 on 2017/10/25.
 */
public class Test12 {
    public static void main(String[] args) {


        Circle c1 = new Circle();
        c1.raduis = 2;
        System.out.println("半径为2圆的面积 " + c1.area());
        System.out.println("半径为2圆的周长 " + c1.perimerter());

        Rectangular rectangular = new Rectangular();
        rectangular.height = 4;
        rectangular.width = 5;
        System.out.println("矩形的面积 " + rectangular.area());
        System.out.println("矩形的周长 " + rectangular.perimerter());
    }
}
